package com.wn.pettyloan.mapper;

import com.wn.pettyloan.dto.PayDto;
import com.wn.pettyloan.dto.RepayRecordDto;
import com.wn.pettyloan.entity.RepayRecord;
import com.wn.pettyloan.po.OverdueInfo;
import com.wn.pettyloan.vo.OverdueVo2;
import com.wn.pettyloan.vo.RepayRecordVO;

import java.util.List;

/**
 * @author mi-xu
 * @description 针对表【repay_record】的数据库操作Mapper
 * @createDate 2022-12-06 13:35:49
 * @Entity com.wn.pettyloan.entity.RepayRecord
 */
public interface RepayRecordMapper {

    List<OverdueInfo> overdueInfo(List list);

    List<RepayRecordVO> companyRepayRecord(RepayRecordDto repayRecordDto);

    int updateStatus(List list);

    List<RepayRecord> inspectStatus();

    String selRepayMethodNameById(PayDto payDto);

    RepayRecordVO selContractByid(RepayRecordDto repayRecordDto);

    List<RepayRecordVO> selRepayRecordById(RepayRecordDto repayRecordDto);

    int deleteByPrimaryKey(Long id);

    int insert(RepayRecord record);

    int insertSelective(RepayRecord record);

    RepayRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RepayRecord record);

    int updateByPrimaryKey(RepayRecord record);

}
